package top.tangyh.lamp.care.vo.save;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 表单保存方法VO
 * 出入量记录表
 * </p>
 *
 * @author zqb
 * @date 2024-07-23 10:12:06
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode
@Builder
@Schema(description = "出入量记录")
public class BIoRecordSaveVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 病人健康号patient_ident
     */
    @Schema(description = "病人健康号patient_ident")
    @NotEmpty(message = "请填写病人健康号patient_ident")
    @Size(max = 50, message = "病人健康号patient_ident长度不能超过{max}")
    private String patientIdent;
    /**
     * 病人住院号
     */
    @Schema(description = "病人住院号")
    @NotEmpty(message = "请填写病人住院号")
    @Size(max = 50, message = "病人住院号长度不能超过{max}")
    private String hospitalNumber;
    /**
     * 时间
     */
    @Schema(description = "时间")
    private LocalDateTime time;
    /**
     * 项目值
     */
    @Schema(description = "项目值")
    @Size(max = 64, message = "项目值长度不能超过{max}")
    private String ioValue;
    /**
     * 出入量配置id
     */
    @Schema(description = "出入量配置id")
    private Long ioId;
    /**
     * 类型 1、入量 2、出量
     */
    @Schema(description = "类型 1、入量 2、出量")
    private Integer isType;

    /**
     * 选项配置表编码
     */
    @Schema(description = "选项配置表编码")
    @NotEmpty(message = "请填写选项配置表编码")
    @Size(max = 50, message = "选项配置表编码长度不能超过{max}")
    private String itemCode;
    /**
     * 模块名称
     */
    @Schema(description = "模块名称")
    @NotEmpty(message = "请填写模块名称")
    @Size(max = 50, message = "模块名称长度不能超过{max}")
    private String modelCode;

    /**
     * 药品规格
     */
    @Schema(description = "药品规格")
    @Size(max = 64, message = "药品规格长度不能超过{max}")
    private String spec;
    /**
     * 
     */
    @Schema(description = "")
    private Integer isYaoSum;
    /**
     * 
     */
    @Schema(description = "")
    private LocalDateTime realTime;
    /**
     * 药名
     */
    @Schema(description = "药名")
    @Size(max = 255, message = "药名长度不能超过{max}")
    private String medication;
    /**
     * 
     */
    @Schema(description = "执行用药分组id")
    private String groupId;
    /**
     * 
     */
    @Schema(description = "")
    @Size(max = 255, message = "长度不能超过{max}")
    private String dyAmount;
    /**
     * 
     */
    @Schema(description = "")
    @Size(max = 255, message = "长度不能超过{max}")
    private String dyAmountUnit;
    /**
     * 
     */
    @Schema(description = "")
    private Integer isMaster;
    /**
     * 
     */
    @Schema(description = "")
    private LocalDateTime planTime;
    /**
     * 是否显示到特护单0 否 1 是
     */
    @Schema(description = "是否显示到特护单0 否 1 是")
    private Integer isShowCare;



}
